<?php

class Form_Setpoint extends Zend_Form
{
    
    public function init()
    {
    }
    
    public function getForm($scale) 
    {
             // set the method for the display form to POST
              $this->setMethod('post');

              $this->addElement('text', 'setpoint', array(
                'label'      => 'Setpoint (' . $scale . '):',
                'class'      => 'setpt',
                'required'   => true
              ));


             $this->addElement('hidden', 'room_id');
      //       $this->addElement('hidden', 'zone_id');

              // add the submit button
              $this->addElement('submit', 'submit',  array(
                  'label'    => 'Edit',
              ));

    }
}